<template>
	<view>
		<uni-search-bar v-model="searchObj.keyword" @cancel="search" cancelText='搜索'></uni-search-bar>
		<Grid :lists="lists"/>
		
		<BottomBar v-model='barIndex' :barlists="barlists"/>
	</view>
</template>

<script>
	import Grid from '@/components/Grid.vue'
	import config from '@/pages/takeorder/config.js'
	export default {
		components:{
			Grid
		},
		data() {
			return {
				lists:[
					{
						icon:'icon-liebiao2',
						title:'需求大厅',
					},{
						icon:'icon-huiyuan1',
						title:'会员福利',
					},{
						icon:'icon-shanghupiliangruzhu',
						title:'入驻',
					}
				],
				searchObj:{},
				barlists:config.barlists,
				barIndex:1,
			}
		},
		onLoad() {
			
		},
		methods: {
			search(e){
				console.log(888)
			}
		}
	}
</script>

<style>

</style>
